<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=">
<title>优惠券列表</title>
<link rel="stylesheet" href="__PUBLIC__/Admin/css/css.css">
<script src="__PUBLIC__/Admin/js/jquery-1.9.1.js"></script>
<script src="__PUBLIC__/Common/Layer/layer.js"></script>
</head>
<body>
<div class="nav">
	<div class="nav_title">
    	<h4><img class="nav_img" src="__PUBLIC__/Admin/img/tab.gif" /><span class="nav_a"><if condition="$_GET['type'] eq 1">pc首页<elseif condition="$_GET['type'] eq 2"/>pc旅游<elseif condition="$_GET['type'] eq 3"/>pc会员专区<elseif condition="$_GET['type'] eq 4"/>pc合伙人专区<elseif condition="$_GET['type'] eq 5"/>手机首页<elseif condition="$_GET['type'] eq 6"/>手机旅游<elseif condition="$_GET['type'] eq 7"/>手机会员专区<elseif condition="$_GET['type'] eq 8"/>手机合伙人专区<else/><php>echo urldecode($_GET['menu_title']);</php></if></span></h4>
    </div>
</div>
<div style="text-align: center;">
<form action="__SELF__" method="POST">
	<div class="search" style=" line-height:50px; padding-left:30px; margin-top:3px;">
	    <a href="{:U('Ad/ad_space')}?type=1"><button type="button" class="button">pc首页</button></a>
	    <if condition="0"><a href="{:U('Ad/ad_space')}?type=2"><button type="button" class="button">pc旅游</button></a></if>
	    <a href="{:U('Ad/ad_space')}?type=3"><button type="button" class="button">pc会员专区</button></a>
	    <if condition="0"><a href="{:U('Ad/ad_space')}?type=4"><button type="button" class="button">pc合伙人专区</button></a></if>
		<a href="{:U('Ad/ad_space')}?type=5"><button type="button" class="button">手机首页</button></a>
		<if condition="0"><a href="{:U('Ad/ad_space')}?type=6"><button type="button" class="button">手机旅游</button></a></if>
		<a href="{:U('Ad/ad_space')}?type=7"><button type="button" class="button">手机会员专区</button></a>
	</div>
</form>
</div>


<div class="list">
	  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="list_table">
      <thead>
	    <tr>
	      <td width="11%"><div align="center">ID</div></td>
	      <td width="19%"><div align="center">广告位名称</div></td>
	      <td width="25%"><div align="center">检索分类</div></td>
	      <td width="30%"><div align="center">广告位尺寸</div></td>

	      <td width="15%"><div align="center">操作</div></td>
        </tr>
        </thead>
        <tbody>
        <foreach name="result" item="vo">
        <form method="post" action="__SELF__">
	    <tr id="del{$vo.id}">
	      <td height="50"><div align="center">{$vo.id}</div></td>
	      <td><div align="center">
	          <input type="text" class="input" name="name" id="name" value="{$vo.name}">
	      </div></td>
	      <td height="50"><div align="center">
	      	<select name="type" id="type" style="height:30px;">
                      <option value="{$vo.type}"><if condition="$vo.type eq 1">pc首页<elseif condition="$vo.type eq 3"/>pc会员专区<elseif condition="$vo.type eq 5"/>手机首页<elseif condition="$vo.type eq 6"/>手机旅游<elseif condition="$vo.type eq 7"/>手机会员专区</if></option>
                      <option value="1">pc首页</option>
                      <if condition="0"><option value="2">pc旅游</option></if>
                      <option value="3">pc会员专区</option>
                      <option value="4">pc合伙人专区</option>
					  <option value="5">手机首页</option>
					  <if condition="0"><option value="6">手机旅游</option></if>
					  <option value="7">手机会员专区</option>
					  <if condition="0"><option value="8">手机合伙人专区</option></if>
                </select>
	      </div></td>
	      <td><div align="center">
	        <input type="text" class="input" name="width" id="width" style="width:40px;" value="{$vo.width}">
*
	<input type="text" name="height" class="input" id="height" style="width:30px;" value="{$vo.height}">
          </div></td>

	      <td><div align="center"><button class="button" type="submit">保存修改</button>
          <input type="hidden" name="id" value="{$vo.id}" /></div></td>
        </tr>
        </form>
        </foreach>
        </tbody>
  </table>
</div>

<!-- 分页 -->
<div class="page">
  <div align="center"></div>
</div>


</body>
</html>
